package mxmf.content.vo;

import java.io.Serializable;

public class ResultVo<T> implements Serializable {
    T obj;
    String message;
    boolean success;

    public ResultVo(T obj, boolean success, String message) {
        this.obj = obj;
        this.message = message;
        this.success = success;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
